<!DOCTYPE html>
<html>
<head>
	<title>Thêm dự án</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="<?php echo base_url('resources');?>/css/admin/test.css">
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <script>
        $(function() {
            $( "#batdau" ).datepicker();
            $( "#ngaydukienkt" ).datepicker();
        });
        $(function() {
            $( "input[type=submit], a, button" )
              .button()
              .click(function( event ) {
                event.preventDefault();
              });
          });
    </script>
</head>
<body>
	<form id="add_page" action="" method="post">
            <fieldset>
                <legend>Thêm dự án</legend>
                    <div>
                        <label for="duan">Tên dự án: <span class="required">*</span></label>
                        <input type="text" id="tenduan" name="tenduan"  value="<?php if (isset($_POST['tenduan'])) echo strip_tags($_POST['tenduan'])?>" size="20" maxlength="80" tabindex="1" />
                    </div>
                    
                    <div>
                        <label for="duan">Ngày bắt đầu: <span class="required">*</span></label>
                        <input type="text" id="batdau" name="batdau" value="<?php if (isset($_POST['batdau'])) echo strip_tags($_POST['batdau'])?>" tabindex="2"/>
                    </div>

                    <div>
                        <label for="duan">Ngày dự kiến kết thúc: <span class="required">*</span></label>
                        <input type="text" id="ngaydukienkt" name="dukienkt" value="<?php if (isset($_POST['dukienkt'])) echo strip_tags($_POST['dukienkt'])?>" tabindex="3"/>
                    </div>
                    
                    <div>
                        <label for="duan">Loại dự án:<span class="required">*</span></label>
                        <select name="loaiduan" tabindex="4">
                            <option>Chọn loại dự án</option>
                            <option value="1">Thường</option>
                            <option value="2">Trọng điểm</option>
                            <option value="3">Training</option>
                        </select>
                    </div>
                    
                    <input type="submit" name="submit" value="Thêm"/>
            </fieldset>
</body>
</html>